﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace dbPoll_Application.Models
{
    public class Option
    {
        public virtual int optionID { get; set; }
        public virtual String text { get; set; }
        public virtual int optionNumber { get; set; }

        public Option()
        {
            this.optionID = -1;
            this.text = String.Empty;
            this.optionNumber = -1;
        }

        public Option(String text, int optionNumber)
        {
            this.optionID = -1;
            this.text = text;
            this.optionNumber = optionNumber;
        }

        public Option(int optionID, String text, int optionNumber)
        {
            this.optionID = optionID;
            this.text = text;
            this.optionNumber = optionNumber;
        }
    }
}
